import hyRequest from '../request'

export function getHotSuggests() {
	return hyRequest.get({
		url: '/home/hotSuggests',
	})
}

export function getHomeCategories() {
	return hyRequest.get({
		url: '/home/categories',
	})
}

export function getHouselistData(currentPage) {
	return hyRequest.get({
		// url: `/home/houselist?page=${page}`,
		url: '/home/houselist',
		params: {
			page: currentPage,
		},
	})
}
